﻿using System.ComponentModel.DataAnnotations;

namespace Step4.Unit8.Modules
{
    /// <summary>
    /// 添加角色视图模型
    /// </summary>
    public class RoleCreateViewModel
    {
        [Display(Name ="角色名称")]
        [Required(ErrorMessage ="请输入角色名称")]
        public string? RoleName { get; set; }
    }
}
